package com.lwj.service.system;

import com.lwj.dto.system.CategoryListDto;
import com.lwj.dto.system.DictionaryCategoryDto;
import com.lwj.model.system.DictionaryCategory;
import com.lwj.vo.PageBean;
import com.lwj.vo.system.DictionaryCategoryVo;

import java.util.List;

public interface DictionaryCategoryService {
    int deleteByPrimaryKey(String categoryId);

    int insertSelective(DictionaryCategory record);

    DictionaryCategory selectByPrimaryKey(String categoryId);

    int updateByPrimaryKeySelective(DictionaryCategory record);

    DictionaryCategoryVo selectByCode(String code);

    PageBean<DictionaryCategoryVo> categoryList(CategoryListDto dto);

    int updateCategory(DictionaryCategoryDto dto);
}
